//统一管理咱们项目用户相关的接口
import request from '@/utils/request';
//项目用户相关的请求地址
import { API } from './enumAPI';

// 主机监测列表
export const reqDeviceList = (data: any = { data: {} }) => request.post<any, any>(API.ALERT_LIST_URL, data);
// 新增主机监测
export const reqAddDevice = (data: any) => request.post<any, any>(API.ALERT_ADD_URL, data);
// 编辑主机监测
export const reqEditDevice = (data: any) => request.post<any, any>(API.ALERT_EDIT_URL, data);
// 删除主机监测
export const reqDeleteDevice = (data: any) => request.post<any, any>(API.ALERT_DELETE_URL, data);
